Battery Time Structure
TheGetBatteryTimes
function returns information about the time remaining on the computer's battery or batteries in a data structure of typeBatteryTimeRec
.
typedef struct BatteryTimeRec { unsigned long expectedBatteryTime; /* estimated time remaining */ unsigned long minimumBatteryTime; /* minimum time remaining */ unsigned long maximumBatteryTime; /* maximum time remaining */ unsigned long timeUntilCharged; /* time until full charge */ } BatteryTimeRec;